{% extends 'org_base.html' %}
{% block title %}机构首页{% endblock %}
{% block page_name %}机构首页{% endblock %}
{% block right_form %}
    <div class="right companycenter layout grouping" >
		<div class="head">
			<h1>全部课程</h1>
			<a class="green fr more" href="org-detail-course.html">查看更多  >  </a>
		</div>
		<div class="brief group_list">
            {% for course in all_courses %}
                <div class="module1_5 box">
                    <a href="course-detail.html"><img width="214" src="{{ MEDIA_URL }}{{ course.image }}"/></a>
                    <div class="des">
                        <a href="course-detail.html"><h2>{{ course.name }}</h2></a>
                        <span class="fl">课时：<i class="key">{{ course.learn_times }}</i></span>
                        <span class="fr">参加人数{{ course.students }}</span>
                    </div>
                    <div class="bottom">
                        <span class="fl">{{ course.course_org.name }}</span>
                         <span class="star fr  notlogin" data-favid="13"  data-fav-type="4">
                            {{ course.favor_nums }}
                        </span>
                    </div>
                </div>
            {% endfor %}

                <div class="module1_5 box">
                    <a href="course-detail.html"><img width="214" src="/static/media/courses/2016/11/540e57300001d6d906000338-240-135_mvvGYHL.jpg"/></a>
                    <div class="des">
                        <a href="course-detail.html"><h2>django实战项目</h2></a>
                        <span class="fl">课时：<i class="key">0</i></span>
                        <span class="fr">参加人数：0</span>
                    </div>
                    <div class="bottom">
                        <span class="fl">慕课网</span>
                         <span class="star fr  notlogin
                            " data-favid="13"  data-fav-type="4">
                            0
                        </span>
                    </div>
                </div>


		</div>
	</div>
    <div class="right companycenter layout" >
    <div class="head">
        <h1>机构教师</h1>
        <a class="green fr more" href="org-detail-teachers.html">查看更多  >  </a>
    </div>
    {% for teacher in all_teachers %}
        <div class="diarys">
            <div class="module5 share company-diary-box" style="padding:10px 0;">
            <div class="left">
                <img class="pic" src="{{ MEDIA_URL }}{{ teacher.image }}"/>
                <p>职位：{{ teacher.work_position }}</p>
            </div>
            <div class="right">
                <div class="top" style="height: 60px">
                    <span style="float: right;padding-top: 20px; padding-right: 20px">加入时间：{{ teacher.add_time }}</span>
                    <div class="fl">
                        <a href=""><h1>{{ teacher.name }}</h1></a>
                    </div>
                </div>
                <div class="middle" style="border: 0">&nbsp; &nbsp; &nbsp;{{ teacher.desc }}</div>
            </div>
        </div>
        </div>
    {% endfor %}



</div>
    <div class="right companycenter layout" >
    <div class="head">
        <h1>机构介绍</h1>
        <a class="green fr more" href="org-detail-desc.html">查看更多  >  </a>
    </div>
    <div style="font-size: 16px" class="cont">&nbsp; &nbsp; <p>&nbsp; &nbsp;</p>
        <h1 class="ue_t" label="Title center" name="tc" style="border-bottom-color:#cccccc;border-bottom-width:2px;border-bottom-style:solid;padding:20px;text-align:center;margin:0px 0px 20px;">
            <span style="color:#c0504d; font-size: 20px; margin: 20px"><b>{{ course_org.name }}</b></span>
        </h1>
        <p style="text-align:center;margin: 20px"><strong class="ue_t"><b>机构简介</b></strong></p>
        {#        <h3><span class="ue_t" style="font-family:幼圆">[标题 1]</span></h3>#}
        <p class="ue_t" style="margin: auto"><img style="width: 905px" src="/static/media/courses/ueditor/57aa86a0000145c512000460_20161210234050_865.jpg" title="" alt="57aa86a0000145c512000460.jpg"/> </p>
        <p class="ue_t" style="text-indent:2em;padding-top: 20px">   {{ course_org.desc }}</p>
        {#        <h3><span class="ue_t" style="font-family:幼圆">[标题 2]</span></h3>#}
        <p style="text-align:center;margin: 30px"><strong class="ue_t"><b>机构地址</b></strong></p>
        <p><img style="margin-left: 200px;width: 530px;height: 340px" src="http://api.map.baidu.com/staticimage?center=116.410899,39.863624&zoom=11&width=530&height=340&markers=116.404,39.915" width="530" height="340"/> </p>
        {#        <p class="ue_t" style="text-indent:2em;">在“开始”选项卡上，通过从快速样式库中为所选文本选择一种外观，您可以方便地更改文档中所选文本的格式。 您还可以使用“开始”选项卡上的其他控件来直接设置文本格式。大多数控件都允许您选择是使用当前主题外观，还是使用某种直接指定的格式。</p>#}
        {#        <h3><span class="ue_t" style="font-family:幼圆">[标题 3]</span></h3>#}
        <p class="ue_t" style="text-align: center; margin: 30px">地址：{{ course_org.address }}； 热线电话：17690261770</p>
        <p class="ue_t"><br/> </p>
        <p><br/></p>
        <p><br/></p>
        {#        <a href="/company/desc/22/"><span class="green">[查看更多]</span></a>#}
    </div>
</div>
{% endblock %}